<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <title>Document</title>
        <script src="https://cdn.tailwindcss.com"></script>
    </head>
    <body>
        <section class="m-3 p-5 border-2 border-black-500">
            <h1 class="text-lg mb-2 text-red-500 font-bold">
                Grid布局中的行和列
            </h1>
            <div class="w-100 bg-green-100 grid grid-cols-3 grid-rows-3 gap-2">
                <div class="p-10 border border-blue-600 bg-blue-100">01</div>
                <div class="p-10 border border-blue-600 bg-blue-100">02</div>
                <div class="p-10 border border-blue-600 bg-blue-100">03</div>
                <div class="p-10 border border-blue-600 bg-blue-100">04</div>
                <div class="p-10 border border-blue-600 bg-blue-100">05</div>
                <div class="p-10 border border-blue-600 bg-blue-100">06</div>
                <div class="p-10 border border-blue-600 bg-blue-100">07</div>
                <div class="p-10 border border-blue-600 bg-blue-100">08</div>
                <div class="p-10 border border-blue-600 bg-blue-100">09</div>
            </div>
        </section>

        <section class="m-3 p-5 border-2 border-black-500">
            <h1 class="text-lg mb-2 text-red-500 font-bold">
                Grid布局中的占位
            </h1>
            <div class="w-100 bg-green-100 grid grid-cols-3 gap-2">
                <div
                    class="col-span-3 row-span-2 p-10 border border-blue-600 bg-blue-100"
                >
                    01
                </div>
                <div class="p-10 border border-blue-600 bg-blue-100">02</div>
                <div class="p-10 border border-blue-600 bg-blue-100">03</div>
                <div class="p-10 border border-blue-600 bg-blue-100">04</div>
                <div class="p-10 border border-blue-600 bg-blue-100">05</div>
                <div class="p-10 border border-blue-600 bg-blue-100">06</div>
                <div class="p-10 border border-blue-600 bg-blue-100">07</div>
                <div class="p-10 border border-blue-600 bg-blue-100">08</div>
                <div class="col-span-2 p-10 border border-blue-600 bg-blue-100">
                    09
                </div>
            </div>
        </section>
    </body>
</html>
